package com.wj.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hospital.common.base.PageResult;
import com.hospital.common.dto.message.module.*;
import com.hospital.common.pojo.TMessage;
import com.hospital.common.vo.message.module.FindUserReplayMessageVo;
import com.hospital.common.vo.message.module.GetJumpParamsVo;

/**
 * <p>
 * 消息表 服务类
 * </p>
 *
 * @author author
 * @since 2025-09-28
 */
public interface ITMessageService extends IService<TMessage> {

    Integer addAdminMessage(AddAdminMessageDto addAdminMessageDto);

    PageResult findAdminMessage(FindAdminMessageDto findAdminMessageDto);

    Long addMessage(AddMessageDto addMessageDto);

    PageResult findExamineMessage(FindExamineMessageDto findExamineMessageDto);
    FindUserReplayMessageVo findOneExamineMessage(Long id);

    PageResult findUserReplayMessage(FindUserReplayMessageDto findUserReplayMessageDto);
    FindUserReplayMessageVo findOneUserReplayMessage(Long id);
    Long getAdminMessageCount();

    Integer readMessage(Long messageId);

    Integer readAllMessage(Long userId, Integer messageType);

    GetJumpParamsVo getJumpParams(Long metaId);

    Integer deleteMessage(Long messageIds);
}
